package mark.wxming.twotigerlock.lock;

/**
 * 字符锁
 * @author twotiger-wxm.
 * @date 2019/4/23.
 */
public class StringLockIdentify implements ILockIdentify{
    private String id;

    /**
     * 构造
     */
    public StringLockIdentify(String id) {
        this.id = id;
    }

    @Override
    public Object uniqueIdentify() {
        return id;
    }
}
